<?php

/**
 * 生活服务后台管理
 * @copyright (c) 2013, Alvin
 * 
 */
class DazheAction extends AdminAction {

    public function _initialize() {
        parent::_initialize();
    }
    
    public function delete() {
        $id = (int) $this->_get("id");
        if (M('Dazhe')->delete($id)) {
            $this->success("删除成功！");
        } else {
            $this->error("删除失败！");
        }
    }

}

?>
